package org.example.ruoxing_admin_springboot3.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.ruoxing_admin_springboot3.dao.SystemResourcesMenuListDao;

import java.util.List;

public interface SystemResourcesMenuMapper extends BaseMapper<SystemResourcesMenuListDao>{
    /**
     * @description 获取全部菜单系统资源列表
     * @author 莫若省
     * @createTime 2024/5/7
    */
    List<SystemResourcesMenuListDao> getAllSystemResources();
    /**
     * @description 通过角色id获取当前用户拥有的系统菜单资源列表
     * @author 莫若省
     * @createTime 2024/5/7
    */
    List<SystemResourcesMenuListDao> getSystemResourcesByRoleId(String roleId);
}
